package com.jcl.recruit.log.logic;

import com.jcl.recruit.core.web.utils.RequestUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @ClassName LoggerProxy
 * @Description TODO
 * @Author yyliu
 * @Date 2018/10/30 18:39
 * @Version 1.0
 **/
@Component
public class LoggerProxy {

    @Autowired
    private ApplyResumeLog applyResumeLog;

    public void addResumeLog(Integer resumeId, Integer category){

        String corpCode = RequestUtils.getCorpCode();
        String _userId = RequestUtils.getUserId();
        applyResumeLog.addResumeLog(corpCode, Integer.valueOf(_userId), resumeId, category);
    }

}
